Streams userChooser Class
Interface for selecting an app user
Constructor
Streams userChooser
(
-
[options]
Parameters:
-
[options]
Object optionalthis object contains function parameters
-
[onChoose]
Q.Event optionalis triggered with (userId, avatar) parameters when a user is chosen
-
[delay=500]
Number optionalhow long to delay before sending a request to allow more characters to be entered
-
[exclude]
Object optionalhash of {userId: true}, where userId are the ids of the users to exclude from the results. Defaults to id of logged-in user, if logged in.
-